/*
 *  RgbView.h
 *  3dModellingKinect
 *
 *  Created by Jeff Nicholson on 11-11-03.
 *  Copyright 2011 University of Calgary. All rights reserved.
 *
 */

#ifndef _RGB_VIEW_H
#define _RGB_VIEW_H

#include "AbstractView.h"

class RgbView : public AbstractView {

public:
	RgbView(MyFreenectDevice* device);
	~RgbView();
	
protected:
	void initializeGL();
	void paintGL();
	virtual QSize sizeHint() const { return AbstractView::sizeHint(); }
	virtual QSize minimumSizeHint() const { return AbstractView::minimumSizeHint(); }
	virtual void resizeGL(int w, int h) { AbstractView::resizeGL(w,h); }
    void mousePressEvent(QMouseEvent *event);
	void mouseMoveEvent(QMouseEvent *event);
	
private:
	GLuint gl_rgb_tex;		
};

#endif /* _RGB_VIEW_H */